package com.xci;

import com.xci.core.configuration.SystemModuleConfiguration;
import com.xci.core.internal.SysRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 项目启动类
 * @author 吕艳阳
 */
@EnableCaching
@EnableTransactionManagement
@Import(value = {SystemModuleConfiguration.class, SysRunner.class})
@SpringBootApplication
//@SpringBootApplication(scanBasePackages = {"com.xci.sys", "com.xci.app"})
//@SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}